package com.zbkj.crmeb.front.response;

import com.zbkj.crmeb.chant.model.ChannelMemberLevel;
import com.zbkj.crmeb.front.vo.VipDiscountVo;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author stivepeim
 * @title: ComputeOrderResponse
 * @projectName crmeb
 * @description: 计算订单价格 response
 * @date 2020/7/2412:36
 */
@Data
public class ComputeOrderResponse {
    private BigDecimal totalPrice;
    private BigDecimal packagePrice;
    private BigDecimal payPrice;
    private BigDecimal payPostage;
    private BigDecimal couponPrice;

    /** 是否是指定渠道商的自建商品及大陆现货或者指定团长的推广商品 */
    private Integer isAllowSelfPickUp;

    @ApiModelProperty(value = "积分抵扣金额")
    private BigDecimal deductionPrice;

    @ApiModelProperty(value = "用户使用积分")
    private Integer usedIntegral;

    @ApiModelProperty(value = "获得积分")
    private Integer gainIntegral;

    @ApiModelProperty(value = "用户使用积分")
    private Integer enoughIntegral;

    @ApiModelProperty(value = "是否启用积分抵扣（0否  1是）")
    private Integer enableIntegral;

    @ApiModelProperty(value = "剩余积分")
    private Integer SurplusIntegral;

    @ApiModelProperty(value = "到货时间")
    private String arrivalTime;

    @ApiModelProperty(value = "商户成本价")
    private BigDecimal costPrice;

    @ApiModelProperty(value = "平台成本价")
    private BigDecimal sourceCostPrice;

    @ApiModelProperty(value = "会员优惠金额")
    private BigDecimal vipReducePrice;

    @ApiModelProperty(value = "会员折扣")
    private BigDecimal vipDiscountRatio;

    @ApiModelProperty(value = "会员商品id集合")
    private List<Integer> vipProductIdList;

    @ApiModelProperty(value = "会员小计金额")
    private BigDecimal vipSubtotalAmount;

    @ApiModelProperty(value = "商品会员优惠信息")
    private List<VipDiscountVo> vipDiscountList;

    @ApiModelProperty(value = "等级会员信息")
    private ChannelMemberLevel memberLevel;

    @ApiModelProperty(value = "满减送信息")
    private Map<String, Object> discountInfo;

}
